package com.example.myapplication.bean;

public class UserBean {

    /**
     * status : 200
     * msg : 登录成功
     * item : {"id":2,"username":"admin1","password":"bd94ceb89b2ababae49ce82a03326290","data_state":1,"create_time":"2021-03-29 21:20:22","update_time":"2021-03-29 21:20:22"}
     */

    private int status;
    private String msg;
    private ItemBean item;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ItemBean getItem() {
        return item;
    }

    public void setItem(ItemBean item) {
        this.item = item;
    }

    public static class ItemBean {
        /**
         * id : 2
         * username : admin1
         * password : bd94ceb89b2ababae49ce82a03326290
         * data_state : 1
         * create_time : 2021-03-29 21:20:22
         * update_time : 2021-03-29 21:20:22
         */

        private int id;
        private String username;
        private String password;
        private int data_state;
        private String create_time;
        private String update_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getData_state() {
            return data_state;
        }

        public void setData_state(int data_state) {
            this.data_state = data_state;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }
    }
}
